package rlex.classes.program;

/*
 * FUNCTION(ATTRIB)
 */
public class ExpressionFunctionCall extends Expression {
	private String procedureName;
	private ExpressionList exps;
	
	public String getProcedureName() {
		return procedureName;
	}
	public void setProcedureName(String functionName) {
		this.procedureName = functionName;
	}
	public ExpressionList getAttribs() {
		return exps;
	}
	public void setAttribs(ExpressionList exps) {
		this.exps = exps;
	}
	
	public String toString() {
		return procedureName + "(" + exps.toString() + ")";
	}
	
	public void display(int level) {
		System.out.print("Name: " + procedureName + " ( ");
		exps.display(0);
		System.out.print(" ) ");
	}
	
	
}
